package main.java.com.leng.service;


import com.leng.pojo.Book;
import com.leng.pojo.Correlation;
import com.leng.pojo.EasyUIDataGridResult;

import java.util.List;

/**
 * Created by presoul on 2017/6/13.
 */
public interface BookService {

    public EasyUIDataGridResult getAllbooks(Integer page, double rows);

    public List<Correlation> getUserRent(Integer id);

    public List<Book> getAllUserRentBook(List<Correlation> list);

    public void updateBookSum(Integer id, Integer userId);

    public EasyUIDataGridResult getAllQuerybooks(Integer page, double rows, String query);
}
